package com.wuchao.spring.advice;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author wuchao66
 * @Date 2022/7/4 12:24
 * @Version 1.0
 */
@Service("PointCut11")
public class PointCut {
    @Resource(name = "Stu1")
    private Stu stu;
    public  void show(){
        stu.setName("143");
        System.out.println("xxx"+stu.getName());
    }
}
